@import './modules/reset.scss';
@import './modules/header.scss';
@import './modules/footer.scss';


.mian-c{
    width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    // border: 1px solid red;
    >h3{
        font-size: 18px;
        margin-top: 76px;
        margin-bottom: 22px;
        font-weight: 700;
    }
    table{
        border-spacing: 0;
        border-collapse: collapse;
        font-size: 14px;
        thead{
            tr{
                background-color: #fafafa;
                th{
                    border: 0;
                    height: 52px;
                    line-height: 52px;
                    font-weight: normal;
                    text-align: center;
                    text-indent: 2em;
                    &:nth-child(1){
                        width: 51px;
                    }
                    &:nth-child(2){
                        width: 720px;
                        text-align: left;
                    }
                    &:nth-child(3){
                        width: 122px;
                    }
                    &:nth-child(4){
                        width: 208px;
                    }
                    &:nth-child(5){
                        width: 100px;
                    }
                }
            }
           
        }
        tbody{
            
            tr{
                vertical-align: middle;
                height: 177px;
                border-bottom: 1px solid #e9e9e9;
                td{
                    &:nth-child(1){
                            text-align: center;
                            input{
                                // box-sizing: content-box;
                                
                                width: 20px;
                                height: 20px;
                                // border:2px solid green;
                            }
                        }
                        &:nth-child(2){
                            img{
                                text-align: left;
                                width: 90px;
                                height: 90px;
                                float: left;
                            }
                            span{
                                display: inline-block;
                                font-size: 18px;
                                font-weight: 700;
                                margin-left: 50px;
                                margin-top: 10px;
                            }
                        }
                        &:nth-child(3){
                            text-align: center;
                            font-size: 18px;
                            font-weight: 700;
                        }
                        &:nth-child(4){
                            text-align: center;
                            a{
                                font-size: 18px;
                                color: #838383;
                                width: 32px;
                                height: 30px;
                                line-height: 30px;
                                text-align: center;
                                display: inline-block;
                                border: 1px solid #ccc;
                                vertical-align: bottom;
                                outline: none;
                                background-color: #fff;
                                position: relative;
                                z-index: 2;
                                
                            }
                            .reduce{
                                border-right: none;
                                margin-right: -4px;
                                &:hover{
                                    color: red;
                                }
                            }
                            .add{
                                border-left: none;
                                margin-left: -4px;
                                &:hover{
                                    color: red;
                                }
                            }
                           input{
                            width: 51px;
                            height: 30px;
                            line-height: 30px;
                            text-align: center;
                            border: 1px solid #b8b8b8;
                           }
                        }
                        &:nth-child(5){
                            text-align: center;
                            a{
                                
                                font-size: 18px;
                            }
                           
                        }
                    }
                
               
            }
        }

    }
    .allPrice{
        margin-top: 36px;
        height: 60px;
        position: relative;
        border-bottom: 1px solid #e9e9e9;
        input{
            float: left;
            width: 20px;
            height: 23px;
            text-align: center;
            border: 1px solid #b8b8b8;
            margin-left: 15px;
        }
        >span{
            float: left;
            font-size: 14px;
            color: #333;
            margin-left: 3px;
            line-height: 27px;
        }
        .allNum{
            float: left;
            margin-left:30px ;
            font-size: 14px;
            color: #333;
            span{
                font-size: 18px;
                }
           } 
       .allMoney{
           float: left;
           margin-left: 680px;
           font-size: 14px;
           span{
            font-size: 18px;
            color: #c86457;
            font-weight: 700;
           }
       }
       .submit{
            position: absolute;
            top: -15px;
            right: 20px;
            width: 150px;
            height: 50px;
            text-align: center;
            line-height: 50px;
            font-size: 18px;
            background-color: #c86457;
            color: #fff;
            border-radius: 5px;
            cursor: pointer;
       }
    }
}
.carNull{
    width: 1200px;
    height: 470px;
    margin: 0 auto;
    position: relative;
    display: none;
    h2{
        font-size: 24px;
        line-height: 32px;
        color: #777;
        position:absolute ;
        top: 35%;
        left:35%;
    }
    a{
        padding: 8px 15px;
        border-radius: 5px;
        background-color: #777;
        color: #fff;
        position: absolute;
        top:45%;
        left:43%;
    }
}